package com.inno.oss.service.impl;

import com.inno.oss.entity.FileUploadDTO;
import com.inno.oss.service.OssService;
import com.inno.oss.utils.OssUtil;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
public class OssServiceImpl implements OssService {
    @Resource
    private OssUtil ossUtil;
    @Override
    public String upload(MultipartFile file) {
        return ossUtil.upload(file);
    }
}
